/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Scenery.Thing.Things;

import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.scene.Node;
/**
 *
 * @author usuario
 */
public abstract class Entity {
    
    public abstract void createEntity();
    
    public Entity(String name) {
        createEntity();
        addCustomLight();
    }

    public void teleportTo(Vector3f position) {
        entityMasterNode.setLocalTranslation(position);
    }
    
    String name;
    Node entityMasterNode = new Node("masterNode");

    public Node getEntityMasterNode() {
        return entityMasterNode;
    }

    public void setEntityMasterNode(Node entityMasterNode) {
        this.entityMasterNode = entityMasterNode;
    }
    
    public void addCustomLight() {}
    
    
    
}
